package org.example.cicdi.service.impl.third;

import lombok.Data;

import java.util.Objects;

@Data
public class TableCondition {
    private String hasorNotSelfAnnotationTVO;
    private String hasorNotJpaTableAnnotation;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof TableCondition)) return false;
        TableCondition that = (TableCondition) o;
        return Objects.equals(hasorNotSelfAnnotationTVO, that.hasorNotSelfAnnotationTVO) && Objects.equals(hasorNotJpaTableAnnotation, that.hasorNotJpaTableAnnotation);
    }

    @Override
    public int hashCode() {
        return Objects.hash(hasorNotSelfAnnotationTVO, hasorNotJpaTableAnnotation);
    }


}
